package com.os.register.service;

import com.os.register.bean.Register;

import java.util.List;

/**
 * @author 
 * @version v1.0.0
 * @description Register 接口
 * @date Created in 2018-08-27 18:34:07
 */
public interface RegisterService {

    /**
     * 通过ID查找对象
     * @param registerId
     * @return
     */
    Register getById(Integer registerId) throws Exception ;

    /**
     * 列表
     * @param register
     * @return
     */
    List<Register> list(Register register) throws Exception ;

    /**
     * 删除
     * @param registerId
     * @return
     */
    int deleteById(Integer registerId) throws Exception ;

    /**
     * 添加
     * @param register
     * @return
     */
    Register save(Register register) throws Exception ;

    /**
     * 更新
     * @param register
     * @return
     */
    Register update(Register register) throws Exception ;
}
